	/*******************注销用户************************************/
	$("#selfInfo #deleteUserBtn").click(function(){	//点击用户注销
		deleteUser();
	});

	function deleteUser(){	//注销用户功能
		$("h1").text("用户注销");
		$('#deleteUserBox').show().siblings().hide();		//显示注销box	
		$("#deleteUserBox #deleteUserBtn").unbind();
		$("#deleteUserBox #deleteUserBtn").click(function(){	//点击注销，注销框中的注销
			doDeleteUser();		//访问API
		});
	}
	
	function doDeleteUser(){	//访问API
		var password=$("#deleteUserBox #password").val();
		request("POST", "/doDeleteUser", {"password":password}, doDeleteUserSuccess, doDeleteUserError, true);
	}	
	function doDeleteUserSuccess(responseData){	//注销成功，回调函数
		if(responseData.code=="300")		//注销成功
		{
			alert(responseData.description);
					
//			$("#mySelf span").text("个人中心");
			ChangeTo($("#mySelf"));
		}
		else
		{
			alert(responseData.description);	
		}	
	}
	
	function doDeleteUserError() {};
	/*******************注销用户************************************/
	

	/*******************prev、next************************************/
	$("#deleteUserBox #prevBtn").click(function(){
		isLogin();
	})
	$("#deleteUserBox #nextBtn").click(function(){
//		isLogin();
	})
	/*******************prev、next************************************/